<script setup lang="ts">
import CartMain from './components/CartMain.vue'
// 获取屏幕边界到安全区域距离
const { safeAreaInsets } = uni.getSystemInfoSync()
// CartMain中的底部是固定定位，需要传参修改比较好
</script>

<template>
  <CartMain :bottom="safeAreaInsets?.bottom + 'px'" />
</template>

<style scoped lang="scss"></style>
